package com.wjb.springcloud;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
public class Unit11SpringcloudProviderApplication {

    public static void main(String[] args) {
new SpringApplicationBuilder(Unit11SpringcloudProviderApplication.class).web(true).run(args);

    }
}
